package com.uls.czj.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.uls.hdh.vo.TaskCommentVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 住房补贴管理对象 czj_housingsubsidy
 * 
 * @author czj
 * @date 2024-11-10
 */
public class CzjHousingsubsidy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 补贴id */
    private Long subsidyid;

    /** 教职工id */
    @Excel(name = "教职工id")
    private Long personnelid;

    /** 补贴金额 */
    @Excel(name = "补贴金额")
    private BigDecimal subsidyamount;

    /** 发放日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发放日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issuedate;

    /** 补贴类型，值: 购房补贴, 租房补贴 */
    @Excel(name = "补贴类型，值: 购房补贴, 租房补贴")
    private String subsidytype;

    /** 补贴状态，值: 已发放, 待发放 */
    @Excel(name = "补贴状态，值: 已发放, 待发放")
    private String subsidystatus;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdby;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdtime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedby;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedtime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedby;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedtime;

    @Excel(name = "教职工名称")
    private String personnelname;

    @Excel(name = "任务id")
    private Long flowInstantId;

    public Long getFlowInstantId() {
        return flowInstantId;
    }

    public void setFlowInstantId(Long flowInstantId) {
        this.flowInstantId = flowInstantId;
    }

    public String getPersonnelname() {
        return personnelname;
    }

    public void setPersonnelname(String personnelname) {
        this.personnelname = personnelname;
    }

    public void setSubsidyid(Long subsidyid)
    {
        this.subsidyid = subsidyid;
    }

    public Long getSubsidyid() 
    {
        return subsidyid;
    }
    public void setPersonnelid(Long personnelid) 
    {
        this.personnelid = personnelid;
    }

    public Long getPersonnelid() 
    {
        return personnelid;
    }
    public void setSubsidyamount(BigDecimal subsidyamount) 
    {
        this.subsidyamount = subsidyamount;
    }

    public BigDecimal getSubsidyamount() 
    {
        return subsidyamount;
    }
    public void setIssuedate(Date issuedate) 
    {
        this.issuedate = issuedate;
    }

    public Date getIssuedate() 
    {
        return issuedate;
    }
    public void setSubsidytype(String subsidytype) 
    {
        this.subsidytype = subsidytype;
    }

    public String getSubsidytype() 
    {
        return subsidytype;
    }
    public void setSubsidystatus(String subsidystatus) 
    {
        this.subsidystatus = subsidystatus;
    }

    public String getSubsidystatus() 
    {
        return subsidystatus;
    }
    public void setCreatedby(String createdby) 
    {
        this.createdby = createdby;
    }

    public String getCreatedby() 
    {
        return createdby;
    }
    public void setCreatedtime(Date createdtime) 
    {
        this.createdtime = createdtime;
    }

    public Date getCreatedtime() 
    {
        return createdtime;
    }
    public void setUpdatedby(String updatedby) 
    {
        this.updatedby = updatedby;
    }

    public String getUpdatedby() 
    {
        return updatedby;
    }
    public void setUpdatedtime(Date updatedtime) 
    {
        this.updatedtime = updatedtime;
    }

    public Date getUpdatedtime() 
    {
        return updatedtime;
    }
    public void setDeletedby(String deletedby) 
    {
        this.deletedby = deletedby;
    }

    public String getDeletedby() 
    {
        return deletedby;
    }
    public void setDeletedtime(Date deletedtime) 
    {
        this.deletedtime = deletedtime;
    }

    public Date getDeletedtime() 
    {
        return deletedtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subsidyid", getSubsidyid())
            .append("personnelid", getPersonnelid())
            .append("subsidyamount", getSubsidyamount())
            .append("issuedate", getIssuedate())
            .append("subsidytype", getSubsidytype())
            .append("subsidystatus", getSubsidystatus())
            .append("createdby", getCreatedby())
            .append("createdtime", getCreatedtime())
            .append("updatedby", getUpdatedby())
            .append("updatedtime", getUpdatedtime())
            .append("deletedby", getDeletedby())
            .append("deletedtime", getDeletedtime())
            .toString();
    }


    //是否同意vo
    private Integer agree;

    public Integer getAgree() {
        return agree;
    }

    public void setAgree(Integer agree) {
        this.agree = agree;
    }

    //批注vo
    private String comment;

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }


    //审批过程数据列表vo
    private List<TaskCommentVo> taskCommentVoList;

    public List<TaskCommentVo> getTaskCommentVoList() {
        return taskCommentVoList;
    }

    public void setTaskCommentVoList(List<TaskCommentVo> taskCommentVoList) {
        this.taskCommentVoList = taskCommentVoList;
    }
}
